// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/node_modules/.pnpm/vite@5.0.10_@types+node@18.19.5_sass@1.90.0/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/node_modules/.pnpm/@vitejs+plugin-vue@4.6.2_vite@5.0.10_@types+node@18.19.5_sass@1.90.0__vue@3.5.18_typescript@5.3.3_/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Components from "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/node_modules/.pnpm/unplugin-vue-components@0.26.0_@babel+parser@7.28.0_rollup@4.46.2_vue@3.5.18_typescript@5.3.3_/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/node_modules/.pnpm/unplugin-vue-components@0.26.0_@babel+parser@7.28.0_rollup@4.46.2_vue@3.5.18_typescript@5.3.3_/node_modules/unplugin-vue-components/dist/resolvers.js";
import Icons from "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/node_modules/.pnpm/unplugin-icons@0.18.2_@vue+compiler-sfc@3.5.18_vue-template-compiler@2.7.16/node_modules/unplugin-icons/dist/vite.js";
import IconsResolver from "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/node_modules/.pnpm/unplugin-icons@0.18.2_@vue+compiler-sfc@3.5.18_vue-template-compiler@2.7.16/node_modules/unplugin-icons/dist/resolver.js";
import AutoImport from "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/node_modules/.pnpm/unplugin-auto-import@0.17.3_@vueuse+core@9.13.0_vue@3.5.18_typescript@5.3.3___rollup@4.46.2/node_modules/unplugin-auto-import/dist/vite.js";
var __vite_injected_original_import_meta_url = "file:///D:/%E6%99%BA%E6%85%A7%E6%95%99%E5%AD%A6ai%E9%97%A8%E6%88%B7/AIportal/vite.config.ts";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      // Auto import functions from Vue, e.g. ref, reactive, toRef...
      // 自动导入 Vue 相关函数，如：ref, reactive, toRef 等
      imports: ["vue"],
      // Auto import functions from Element Plus, e.g. ElMessage, ElMessageBox... (with style)
      // 自动导入 Element Plus 相关函数，如：ElMessage, ElMessageBox... (带样式)
      resolvers: [
        ElementPlusResolver(),
        // Auto import icon components
        // 自动导入图标组件
        IconsResolver({
          prefix: "Icon"
        })
      ],
      dts: false
    }),
    Components({
      resolvers: [
        // Auto register icon components
        // 自动注册图标组件
        IconsResolver({
          enabledCollections: ["ep"]
        }),
        // Auto register Element Plus components
        // 自动导入 Element Plus 组件
        ElementPlusResolver({ importStyle: false })
      ],
      dts: false
      // dts: path.resolve(pathSrc, 'components.d.ts')
    }),
    Icons({
      autoInstall: true
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    // 配置开发服务器
    host: true,
    open: true,
    // 服务器启动时自动在浏览器打开应用
    // 应用端口 (默认:3000)
    port: 8081
    // 你还可以指定打开的路径：
    // open: '/path/to/page',
    // ...其他服务器配置
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxcdTY2N0FcdTYxNjdcdTY1NTlcdTVCNjZ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